﻿using System;
using System.Runtime.CompilerServices;

namespace Quicklight.Mobile.Cordova.Contacts {

   [IgnoreNamespace]
   public class ContactError {

      [ScriptName("UNKNOWN_ERROR")]
      public const double UNKNOWN_ERROR = 0;
      [ScriptName("INVALID_ARGUMENT_ERROR")]
      public const double INVALID_ARGUMENT_ERROR = 1;
      [ScriptName("TIMEOUT_ERROR")]
      public const double TIMEOUT_ERROR = 2;
      [ScriptName("PENDING_OPERATION_ERROR")]
      public const double PENDING_OPERATION_ERROR = 3;
      [ScriptName("IO_ERROR")]
      public const double IO_ERROR = 4;
      [ScriptName("NOT_SUPPORTED_ERROR")]
      public const double NOT_SUPPORTED_ERROR = 5;
      [ScriptName("PERMISSION_DENIED_ERROR")]
      public const double PERMISSION_DENIED_ERROR = 6;
      [ScriptName("code")]
      public double Code;
   }

}
